<?php

namespace app\api\validate;

use think\Validate;
use app\common\Error;

class Activity extends Validate
{
    protected $rule = [
        'app_id'  => 'require',
    ];

    protected $message  =   [
        'app_id.require'    => '小程序id不能为空',
    ];

    protected $scene = [
        'activity_info' => ['app_id'],
    ];
}